[@main]
#IF
equal p9 0
#ACT
goto @main-1
BreakTimeRecall 
break

#IF
equal p9 9
#ACT
goto @quit
BreakTimeRecall 
break

[@main-1]
#IF
#ACT
mov p9 0
#SAY
This is room 18, the death room <$USERNAME>\
You must kill all the monsters within\
Although i dont think you will do it\
You will Probably Die\
Do you want to go in?\\
<Sure, Im a dumb ass/@main-2>\
<Ill Leave/@quit>

[@main-2]
#IF
checkitem gamblechip 1
#ACT
take gamblechip 1
map T118
#ELSESAY
<$USERNAME>, You haven't any Chips!!\
Go get some if you want to gamble\\
<Silly Me/@Quit>
#ELSEACT
mov p9 9

[@Quit]
#IF
#ACT
map B011


